<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">hi app</div>
    <template id="t1">
      <div>
        hello <span>{{name}}</span>
        <span v-html="name"></span>
        <input v-bind:type="iType" v-bind:value="username" />
      </div>
    </template>
    <script src="./vue.js"></script>
    <script>
      const vm = new Vue({
        el: "#app",
        template: "#t1",
        data: {
          username: "jack",
          iType: "text",
          name: "<h2>lili</h2>",
        },
      });
    </script>
  </body>
</html>
